package com.mes.service.impl;

import com.mes.entity.Maintain;
import com.mes.mapper.MaintainMapper;
import com.mes.service.MaintainService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author DELL
 * @description 针对表【maintain】的数据库操作Service实现
 * @createDate 2024-09-18 09:37:00
 */
@Service
public class MaintainServiceImpl implements MaintainService {

    @Autowired
    private MaintainMapper maintainMapper;

    @Override
    public List<Maintain> ListByLike(Maintain maintain) {

        return maintainMapper.ListByLike(maintain);
    }

    @Override
    public int insertMaintain(Maintain maintain) {
        return maintainMapper.insertMaintain(maintain);
    }

    @Override
    public int updateMaintain(Maintain maintain) {
        return maintainMapper.updateMaintain(maintain);
    }

    @Override
    public int removeById(String id) {
        return maintainMapper.removeById(id);
    }
}




